package com.ruoyi.custom.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 汽车品牌对象 car_brand
 * 
 * @author wjq
 * @date 2025-09-17
 */
public class CarBrand extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID（自增，无符号整数，避免负数） */
    private String id;

    /** 品牌名（如：宝马、奔驰） */
    @Excel(name = "品牌名", readConverterExp = "如=：宝马、奔驰")
    private String brandName;

    /** logo图片路径（存储图片的URL或服务器路径） */
    @Excel(name = "logo图片路径", readConverterExp = "存=储图片的URL或服务器路径")
    private String brandLogo;

    /** 删除状态：0-存在，1-删除（逻辑删除标识） */
    private Long deleted;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setBrandName(String brandName) 
    {
        this.brandName = brandName;
    }

    public String getBrandName() 
    {
        return brandName;
    }

    public void setBrandLogo(String brandLogo) 
    {
        this.brandLogo = brandLogo;
    }

    public String getBrandLogo() 
    {
        return brandLogo;
    }

    public void setDeleted(Long deleted) 
    {
        this.deleted = deleted;
    }

    public Long getDeleted() 
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("brandName", getBrandName())
            .append("brandLogo", getBrandLogo())
            .append("deleted", getDeleted())
            .toString();
    }
}
